<html>
<head>
    <title>个人中心</title>
</head>
<body>
    <?php if (isset($_COOKIE['username'])):?>
        <div>
            欢迎您，<?php echo $_COOKIE['username'];?>
            <?php echo $_COOKIE['user_id'];?>
            <a href="/c7/logout.php">安全退出</a>
        </div>
    <?php else:?>
        <div>尚未登录，请点击<a href="/c7/login.php">登录</a></div>
    <?php endif;?>
</body>
</html>
